package com.sc;

import com.sc.interceptor.UniqueNameGenerator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@MapperScan("com.sc.mapper")
@ComponentScan(nameGenerator = UniqueNameGenerator.class)
public class ShangApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShangApplication.class, args);
        System.out.println("http://127.0.0.1:8088/");
    }

}
